package com.xzq.erp.service;

import com.xzq.erp.domain.dto.RolePermissionDTO;
import com.xzq.erp.domain.po.SysRolePermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色与权限关联表 服务类
 * </p>
 *
 * @author xzq
 * @since 2025-05-19
 */
public interface ISysRolePermissionService extends IService<SysRolePermission> {

    void removeByRoleId(Integer roleId);

    /**
     * 获取用户权限
     * @return
     */
    List<String> getUserPermissions();

}
